package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * screwConfig对象 screw_config
 * 
 * @author 李奎
 * @date 2023-11-13
 */
public class ScrewConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long screwId;

    /** 配置名称 */
    @Excel(name = "配置名称")
    private String configName;

    /** 数据库版本 */
    @Excel(name = "数据库版本")
    private String dataBaseVersion;

    /** 数据库url */
    @Excel(name = "数据库url")
    private String dataBaseUrl;

    /** 用户名 */
    @Excel(name = "用户名")
    private String dataBaseUserName;

    /** 密码 */
    @Excel(name = "密码")
    private String dataBasePassword;

    /** 数据库类型 */
    @Excel(name = "数据库类型")
    private String dataBaseType;

    /** 生成的文件类型 */
    @Excel(name = "生成的文件类型")
    private String outFileType;

    public void setScrewId(Long screwId) {
        this.screwId = screwId;
    }

    public Long getScrewId() {
        return screwId;
    }
    public void setConfigName(String configName) {
        this.configName = configName;
    }

    public String getConfigName() {
        return configName;
    }
    public void setDataBaseVersion(String dataBaseVersion) {
        this.dataBaseVersion = dataBaseVersion;
    }

    public String getDataBaseVersion() {
        return dataBaseVersion;
    }
    public void setDataBaseUrl(String dataBaseUrl) {
        this.dataBaseUrl = dataBaseUrl;
    }

    public String getDataBaseUrl() {
        return dataBaseUrl;
    }
    public void setDataBaseUserName(String dataBaseUserName) {
        this.dataBaseUserName = dataBaseUserName;
    }

    public String getDataBaseUserName() {
        return dataBaseUserName;
    }
    public void setDataBasePassword(String dataBasePassword) {
        this.dataBasePassword = dataBasePassword;
    }

    public String getDataBasePassword() {
        return dataBasePassword;
    }
    public void setDataBaseType(String dataBaseType) {
        this.dataBaseType = dataBaseType;
    }

    public String getDataBaseType() {
        return dataBaseType;
    }

    public String getOutFileType( ) {
        return outFileType;
    }

    public void setOutFileType( String outFileType ) {
        this.outFileType = outFileType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("screwId", getScrewId())
            .append("configName", getConfigName())
            .append("dataBaseVersion", getDataBaseVersion())
            .append("dataBaseUrl", getDataBaseUrl())
            .append("dataBaseUserName", getDataBaseUserName())
            .append("dataBasePassword", getDataBasePassword())
            .append("dataBaseType", getDataBaseType())
            .append("outFileType", getOutFileType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
